popover: Use markdown for css tree
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Feb 2021 01:04:02 +0000 (20:04 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:35 +0000 (16:37 +0000)
gtk/gtkpopover.c

index a0c97527079864e99368b8ff24fa73feccc46234..5c1953ddafebd3384ffb5d1a68361279ab485c8d 100644 (file)
@@ -46,7 +46,7 @@
  * is to use the [class@Gtk.PopoverMenu] subclass which supports being
  * populated from a `GMenuModel` with [ctor@Gtk.PopoverMenu.new_from_model].
  *
- * ```c
+ * ```xml
  * <section>
  *   <attribute name="display-hint">horizontal-buttons</attribute>
  *   <item>
  *
  * # CSS nodes
  *
- * |[<!-- language="plain" -->
+ * ```
  * popover[.menu]
  * ├── arrow
  * ╰── contents.background
  *     ╰── <child>
- * ]|
+ * ```
  *
  * The contents child node always gets the .background style class
  * and the popover itself gets the .menu style class if the popover